package com.haomi.model;

import java.sql.Timestamp;

/**
 * Group entity. @author MyEclipse Persistence Tools
 */

public class Group implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private String description;
	private Integer creatorId;
	private Timestamp createTime;
	private Integer type;
	private Integer participated;
	private Integer interested;
	private String postPic;
	private Integer groupAlbum;

	// Constructors

	/** default constructor */
	public Group() {
	}

	/** minimal constructor */
	public Group(String name, String description, Integer creatorId,
			Timestamp createTime, Integer type, Integer participated,
			Integer interested, Integer groupAlbum) {
		this.name = name;
		this.description = description;
		this.creatorId = creatorId;
		this.createTime = createTime;
		this.type = type;
		this.participated = participated;
		this.interested = interested;
		this.groupAlbum = groupAlbum;
	}

	/** full constructor */
	public Group(String name, String description, Integer creatorId,
			Timestamp createTime, Integer type, Integer participated,
			Integer interested, String postPic, Integer groupAlbum) {
		this.name = name;
		this.description = description;
		this.creatorId = creatorId;
		this.createTime = createTime;
		this.type = type;
		this.participated = participated;
		this.interested = interested;
		this.postPic = postPic;
		this.groupAlbum = groupAlbum;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getCreatorId() {
		return this.creatorId;
	}

	public void setCreatorId(Integer creatorId) {
		this.creatorId = creatorId;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getParticipated() {
		return this.participated;
	}

	public void setParticipated(Integer participated) {
		this.participated = participated;
	}

	public Integer getInterested() {
		return this.interested;
	}

	public void setInterested(Integer interested) {
		this.interested = interested;
	}

	public String getPostPic() {
		return this.postPic;
	}

	public void setPostPic(String postPic) {
		this.postPic = postPic;
	}

	public Integer getGroupAlbum() {
		return this.groupAlbum;
	}

	public void setGroupAlbum(Integer groupAlbum) {
		this.groupAlbum = groupAlbum;
	}

}